home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 July: Mac OS SDK / Dev.CD Jul 00 SDK2.toast / Development Kits / Cross Platform / QuickTime 4.1.2 Windows SDK / RIncludes / UnicodeConverter.r < prev    next >
Encoding:
Text File  |  2000-04-12  |  1.7 KB  |  60 lines  |  [TEXT/R*ch]

  1. /*
  2.      File:        UnicodeConverter.r
  3.  
  4.      Contains:    Types, constants, and prototypes for Unicode Converter
  5.  
  6.      Version:    Technology:    Mac OS 9.0
  7.                  Release:    QuickTime 4.1
  8.  
  9.      Copyright:    © 1994-1999 by Apple Computer, Inc., all rights reserved.
  10.  
  11.      Bugs?:        For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. */
  17.  
  18. #ifndef __UNICODECONVERTER_R__
  19. #define __UNICODECONVERTER_R__
  20.  
  21. #ifndef __CONDITIONALMACROS_R__
  22. #include "ConditionalMacros.r"
  23. #endif
  24.  
  25. #define kUnicodeUseFallbacksBit         0
  26. #define kUnicodeKeepInfoBit             1
  27. #define kUnicodeDirectionalityBits         2
  28. #define kUnicodeVerticalFormBit         4
  29. #define kUnicodeLooseMappingsBit         5
  30. #define kUnicodeStringUnterminatedBit     6
  31. #define kUnicodeTextRunBit                 7
  32. #define kUnicodeKeepSameEncodingBit     8
  33. #define kUnicodeForceASCIIRangeBit         9
  34. #define kUnicodeNoHalfwidthCharsBit     10
  35. #define kUnicodeTextRunHeuristicsBit     11
  36.  
  37. #define kUnicodeUseFallbacksMask         0x00000001
  38. #define kUnicodeKeepInfoMask             0x00000002
  39. #define kUnicodeDirectionalityMask         0x0000000C
  40. #define kUnicodeVerticalFormMask         0x00000010
  41. #define kUnicodeLooseMappingsMask         0x00000020
  42. #define kUnicodeStringUnterminatedMask     0x00000040
  43. #define kUnicodeTextRunMask             0x00000080
  44. #define kUnicodeKeepSameEncodingMask     0x00000100
  45. #define kUnicodeForceASCIIRangeMask     0x00000200
  46. #define kUnicodeNoHalfwidthCharsMask     0x00000400
  47. #define kUnicodeTextRunHeuristicsMask     0x00000800
  48.  
  49. #define kUnicodeDefaultDirection         0
  50. #define kUnicodeLeftToRight             1
  51. #define kUnicodeRightToLeft             2
  52.  
  53. #define kUnicodeDefaultDirectionMask     0x00
  54. #define kUnicodeLeftToRightMask         0x04
  55. #define kUnicodeRightToLeftMask         0x08
  56.  
  57.  
  58. #endif /* __UNICODECONVERTER_R__ */
  59.  
  60.